﻿using Nemerle.Collections;
using Nemerle.Text;
using Nemerle.Utility;

using System;
using System.Collections.Generic;
using System.Linq;
using Nemerle.Peg;

namespace Nemerle2.Compiler
{
  [Record]
  public variant PModifiers : PAst
  {
    | Content { Entries : list[Location]; }
    | Value // see data in the "Modifiers". Use this option when you make AST programmaticaly.
    | Expr    { Code    : PExpr; }
    | Error   { Msg     : Msg; }

    public Modifiers : Modifiers { get; private set; }
  }
}
